package com.shi.yibanjia.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.shi.yibanjia.entity.po.Comments;
import org.apache.ibatis.annotations.Param;

/**
 * @author 20556
 * @description 针对表【tb_comments(评论表)】的数据库操作Mapper
 * @createDate 2024-04-16 15:06:11
 * @Entity com.shi.yibanjia.po.Comments
 */
public interface CommentsMapper extends BaseMapper<Comments> {
    IPage<Comments> selectCommentWithNickname(IPage page, @Param("stars") Integer stars);

    Integer selectBadLevelCount();

    Integer selectMediumLevelCount();

    Integer selectGoodLevelCount();
}




